import styles from "./index.module.less";

export const Title = ({ children, extra, className }) => {
  return (
    <div className={[styles.title, className].join(" ")}>
      <div className={styles.text}>{children}</div>
      <div className={styles.extra}>{extra}</div>
    </div>
  );
};
